//
//  Download.h
//  Example13-2
//
//  Created by 孙晓晔 on 2017/4/25.
//  Copyright © 2017年 孙晓晔. All rights reserved.
//

#import <Foundation/Foundation.h>


@protocol DownloadDelegate <NSObject>
-(void)didFinishDownload:(NSDictionary*)dict;

@end

@interface Download : NSObject

@property(nonatomic,strong) NSArray *urlArr;
@property(nonatomic,strong) NSMutableDictionary *dict;

@property(nonatomic,strong) id<DownloadDelegate> delegate;

-(instancetype)initWithUrl:(NSArray*)arr;
-(void)start:(NSInteger)count;
-(void)clear;

@end
